import instance from '@/utils/request';

export function getrolemanageapi(data) {
    return instance.request({
        url: "api/SysManage/GetRoleManage",
        method: "post",
        data
    })
}

export function addrolemanageapi(data) {
    return instance.request({
        url: "api/SysManage/PostAddRoleManage",
        method: "post",
        data
    })
}

export function updatrolemanageapi(data) {
    return instance.request({
        url: "api/SysManage/PutUpdateRoleManage",
        method: "put",
        data
    })
}

export function deleterolemanageapi(data) {
    return instance.request({
        url: "api/SysManage/DeleteById",
        method: "delete",
        data
    })
}
